@echo off
echo Building and deploying the application...
echo.

echo 1. Installing production dependencies...
pnpm install --prod

echo.
echo 2. Running database migrations...
echo (Note: This step requires Prisma to be configured properly)
REM npx prisma migrate deploy

echo.
echo 3. Starting the production server...
pnpm start

echo.
echo Deployment completed!
pause